package com.steakliu.gateway.routes;
import com.alibaba.fastjson.JSONObject;
import com.steakliu.gateway.definition.GateWayPredicateDefinition;
import com.steakliu.gateway.definition.GatewayFilterDefinition;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.net.URI;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Route {
    private String id;
    private List<GateWayPredicateDefinition> predicates;
    private List<GatewayFilterDefinition> filters;
    private String uri;
    private int order;
}
